import calendar
print(calendar.mdays)        #打出每个月的最后一天
print(calendar.mdays[12])